/**
 * <copyright>
 * </copyright>
 *
 * $Id$
 */
package org.hl7.v3;

import java.util.Arrays;
import java.util.Collections;
import java.util.List;

import org.eclipse.emf.common.util.Enumerator;

/**
 * <!-- begin-user-doc -->
 * A representation of the literals of the enumeration '<em><b>Physical Therapist HIPAA</b></em>',
 * and utility methods for working with them.
 * <!-- end-user-doc -->
 * <!-- begin-model-doc -->
 * specDomain: S13609 (C-0-T13129-A13130-A13592-S13609-cpt)
 * <!-- end-model-doc -->
 * @see org.hl7.v3.V3Package#getPhysicalTherapistHIPAA()
 * @model extendedMetaData="name='PhysicalTherapistHIPAA'"
 * @generated
 */
public enum PhysicalTherapistHIPAA implements Enumerator {
	/**
	 * The '<em><b>225100000N</b></em>' literal object.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @see #_225100000N_VALUE
	 * @generated
	 * @ordered
	 */
	_225100000N(0, "_225100000N", "225100000N"),

	/**
	 * The '<em><b>2251C2600N</b></em>' literal object.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @see #_2251C2600N_VALUE
	 * @generated
	 * @ordered
	 */
	_2251C2600N(1, "_2251C2600N", "2251C2600N"),

	/**
	 * The '<em><b>2251C0400N</b></em>' literal object.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @see #_2251C0400N_VALUE
	 * @generated
	 * @ordered
	 */
	_2251C0400N(2, "_2251C0400N", "2251C0400N"),

	/**
	 * The '<em><b>2251E1300N</b></em>' literal object.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @see #_2251E1300N_VALUE
	 * @generated
	 * @ordered
	 */
	_2251E1300N(3, "_2251E1300N", "2251E1300N"),

	/**
	 * The '<em><b>2251E1200N</b></em>' literal object.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @see #_2251E1200N_VALUE
	 * @generated
	 * @ordered
	 */
	_2251E1200N(4, "_2251E1200N", "2251E1200N"),

	/**
	 * The '<em><b>2251G0304N</b></em>' literal object.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @see #_2251G0304N_VALUE
	 * @generated
	 * @ordered
	 */
	_2251G0304N(5, "_2251G0304N", "2251G0304N"),

	/**
	 * The '<em><b>2251H1200N</b></em>' literal object.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @see #_2251H1200N_VALUE
	 * @generated
	 * @ordered
	 */
	_2251H1200N(6, "_2251H1200N", "2251H1200N"),

	/**
	 * The '<em><b>2251H1300N</b></em>' literal object.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @see #_2251H1300N_VALUE
	 * @generated
	 * @ordered
	 */
	_2251H1300N(7, "_2251H1300N", "2251H1300N"),

	/**
	 * The '<em><b>2251N0400N</b></em>' literal object.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @see #_2251N0400N_VALUE
	 * @generated
	 * @ordered
	 */
	_2251N0400N(8, "_2251N0400N", "2251N0400N"),

	/**
	 * The '<em><b>2251X0800N</b></em>' literal object.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @see #_2251X0800N_VALUE
	 * @generated
	 * @ordered
	 */
	_2251X0800N(9, "_2251X0800N", "2251X0800N"),

	/**
	 * The '<em><b>2251P0200N</b></em>' literal object.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @see #_2251P0200N_VALUE
	 * @generated
	 * @ordered
	 */
	_2251P0200N(10, "_2251P0200N", "2251P0200N"),

	/**
	 * The '<em><b>2251S0007N</b></em>' literal object.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @see #_2251S0007N_VALUE
	 * @generated
	 * @ordered
	 */
	_2251S0007N(11, "_2251S0007N", "2251S0007N");

	/**
	 * The '<em><b>225100000N</b></em>' literal value.
	 * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of '<em><b>225100000N</b></em>' literal object isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
	 * @see #_225100000N
	 * @model literal="225100000N"
	 * @generated
	 * @ordered
	 */
	public static final int _225100000N_VALUE = 0;

	/**
	 * The '<em><b>2251C2600N</b></em>' literal value.
	 * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of '<em><b>2251C2600N</b></em>' literal object isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
	 * @see #_2251C2600N
	 * @model literal="2251C2600N"
	 * @generated
	 * @ordered
	 */
	public static final int _2251C2600N_VALUE = 1;

	/**
	 * The '<em><b>2251C0400N</b></em>' literal value.
	 * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of '<em><b>2251C0400N</b></em>' literal object isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
	 * @see #_2251C0400N
	 * @model literal="2251C0400N"
	 * @generated
	 * @ordered
	 */
	public static final int _2251C0400N_VALUE = 2;

	/**
	 * The '<em><b>2251E1300N</b></em>' literal value.
	 * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of '<em><b>2251E1300N</b></em>' literal object isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
	 * @see #_2251E1300N
	 * @model literal="2251E1300N"
	 * @generated
	 * @ordered
	 */
	public static final int _2251E1300N_VALUE = 3;

	/**
	 * The '<em><b>2251E1200N</b></em>' literal value.
	 * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of '<em><b>2251E1200N</b></em>' literal object isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
	 * @see #_2251E1200N
	 * @model literal="2251E1200N"
	 * @generated
	 * @ordered
	 */
	public static final int _2251E1200N_VALUE = 4;

	/**
	 * The '<em><b>2251G0304N</b></em>' literal value.
	 * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of '<em><b>2251G0304N</b></em>' literal object isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
	 * @see #_2251G0304N
	 * @model literal="2251G0304N"
	 * @generated
	 * @ordered
	 */
	public static final int _2251G0304N_VALUE = 5;

	/**
	 * The '<em><b>2251H1200N</b></em>' literal value.
	 * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of '<em><b>2251H1200N</b></em>' literal object isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
	 * @see #_2251H1200N
	 * @model literal="2251H1200N"
	 * @generated
	 * @ordered
	 */
	public static final int _2251H1200N_VALUE = 6;

	/**
	 * The '<em><b>2251H1300N</b></em>' literal value.
	 * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of '<em><b>2251H1300N</b></em>' literal object isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
	 * @see #_2251H1300N
	 * @model literal="2251H1300N"
	 * @generated
	 * @ordered
	 */
	public static final int _2251H1300N_VALUE = 7;

	/**
	 * The '<em><b>2251N0400N</b></em>' literal value.
	 * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of '<em><b>2251N0400N</b></em>' literal object isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
	 * @see #_2251N0400N
	 * @model literal="2251N0400N"
	 * @generated
	 * @ordered
	 */
	public static final int _2251N0400N_VALUE = 8;

	/**
	 * The '<em><b>2251X0800N</b></em>' literal value.
	 * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of '<em><b>2251X0800N</b></em>' literal object isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
	 * @see #_2251X0800N
	 * @model literal="2251X0800N"
	 * @generated
	 * @ordered
	 */
	public static final int _2251X0800N_VALUE = 9;

	/**
	 * The '<em><b>2251P0200N</b></em>' literal value.
	 * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of '<em><b>2251P0200N</b></em>' literal object isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
	 * @see #_2251P0200N
	 * @model literal="2251P0200N"
	 * @generated
	 * @ordered
	 */
	public static final int _2251P0200N_VALUE = 10;

	/**
	 * The '<em><b>2251S0007N</b></em>' literal value.
	 * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of '<em><b>2251S0007N</b></em>' literal object isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
	 * @see #_2251S0007N
	 * @model literal="2251S0007N"
	 * @generated
	 * @ordered
	 */
	public static final int _2251S0007N_VALUE = 11;

	/**
	 * An array of all the '<em><b>Physical Therapist HIPAA</b></em>' enumerators.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	private static final PhysicalTherapistHIPAA[] VALUES_ARRAY =
		new PhysicalTherapistHIPAA[] {
			_225100000N,
			_2251C2600N,
			_2251C0400N,
			_2251E1300N,
			_2251E1200N,
			_2251G0304N,
			_2251H1200N,
			_2251H1300N,
			_2251N0400N,
			_2251X0800N,
			_2251P0200N,
			_2251S0007N,
		};

	/**
	 * A public read-only list of all the '<em><b>Physical Therapist HIPAA</b></em>' enumerators.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public static final List<PhysicalTherapistHIPAA> VALUES = Collections.unmodifiableList(Arrays.asList(VALUES_ARRAY));

	/**
	 * Returns the '<em><b>Physical Therapist HIPAA</b></em>' literal with the specified literal value.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public static PhysicalTherapistHIPAA get(String literal) {
		for (int i = 0; i < VALUES_ARRAY.length; ++i) {
			PhysicalTherapistHIPAA result = VALUES_ARRAY[i];
			if (result.toString().equals(literal)) {
				return result;
			}
		}
		return null;
	}

	/**
	 * Returns the '<em><b>Physical Therapist HIPAA</b></em>' literal with the specified name.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public static PhysicalTherapistHIPAA getByName(String name) {
		for (int i = 0; i < VALUES_ARRAY.length; ++i) {
			PhysicalTherapistHIPAA result = VALUES_ARRAY[i];
			if (result.getName().equals(name)) {
				return result;
			}
		}
		return null;
	}

	/**
	 * Returns the '<em><b>Physical Therapist HIPAA</b></em>' literal with the specified integer value.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public static PhysicalTherapistHIPAA get(int value) {
		switch (value) {
			case _225100000N_VALUE: return _225100000N;
			case _2251C2600N_VALUE: return _2251C2600N;
			case _2251C0400N_VALUE: return _2251C0400N;
			case _2251E1300N_VALUE: return _2251E1300N;
			case _2251E1200N_VALUE: return _2251E1200N;
			case _2251G0304N_VALUE: return _2251G0304N;
			case _2251H1200N_VALUE: return _2251H1200N;
			case _2251H1300N_VALUE: return _2251H1300N;
			case _2251N0400N_VALUE: return _2251N0400N;
			case _2251X0800N_VALUE: return _2251X0800N;
			case _2251P0200N_VALUE: return _2251P0200N;
			case _2251S0007N_VALUE: return _2251S0007N;
		}
		return null;
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	private final int value;

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	private final String name;

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	private final String literal;

	/**
	 * Only this class can construct instances.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	private PhysicalTherapistHIPAA(int value, String name, String literal) {
		this.value = value;
		this.name = name;
		this.literal = literal;
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public int getValue() {
	  return value;
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public String getName() {
	  return name;
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public String getLiteral() {
	  return literal;
	}

	/**
	 * Returns the literal value of the enumerator, which is its string representation.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	@Override
	public String toString() {
		return literal;
	}
	
} //PhysicalTherapistHIPAA
